package com.itheima.dao;

import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Goods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsDao {
    List<Goods> findByPage(QueryPageBean queryPageBean);
    Long findTotal();
    void add(Goods goods);
    void edit(Goods goods);
    void delById(Integer id);
}
